package com.entity;

import java.util.Date;

public class Student {
    public String studentno;
    public String studentname;
    public Date borndate;
    public String address;

    public Student() {
    }

    public Student(String studentno, String studentname, Date borndate, String address) {
        this.studentno = studentno;
        this.studentname = studentname;
        this.borndate = borndate;
        this.address = address;
    }

    public String getStudentno() {
        return studentno;
    }

    public void setStudentno(String studentno) {
        this.studentno = studentno;
    }

    @Override
    public String toString() {
        return "Student{" +
                "studentno='" + studentno + '\'' +
                ", studentname='" + studentname + '\'' +
                ", borndate=" + borndate +
                ", address='" + address + '\'' +
                '}';
    }

    public String getStudentname() {
        return studentname;
    }

    public void setStudentname(String studentname) {
        this.studentname = studentname;
    }

    public Date getBorndate() {
        return borndate;
    }

    public void setBorndate(Date borndate) {
        this.borndate = borndate;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
